home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.3 KB | 87 lines | [TEXT/MPS ] |
- /*
- File: Collections.idl
-
- Contains: Collection Manager Interfaces
-
- Version: Technology: Copland
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __COLLECTIONS_IDL__
- #define __COLLECTIONS_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __MIXEDMODE_IDL__
- #include <MixedMode.idl>
- #endif
- #ifndef __MEMALLOCATORS_IDL__
- #include <MemAllocators.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- /*************/
- /* Constants */
- /*************/
- /* Convenience constants for functions which optionally return values */
- /* attributes bits */
- /*
- Attribute bits 0 through 15 (entire low word) are reserved for use by the application.
- Attribute bits 16 through 31 (entire high word) are reserved for use by the Collection Manager.
- Only bits 31 (kCollectionLockBit) and 30 (kCollectionPersistenceBit) currently have meaning.
- */
- /* attribute masks */
- /***********/
- /* Types */
- /***********/
- /* abstract data type for a collection */
- typedef OpaquePtr Collection;
-
- /* collection member 4 byte tag */
- typedef FourCharCode CollectionTag;
-
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- typedef OpaquePtr CollectionFlattenProcPtr;
- typedef OpaquePtr CollectionFlattenUPP;
- typedef OpaquePtr CollectionExceptionProcPtr;
- typedef OpaquePtr CollectionExceptionUPP;
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef OpaquePtr CollectionFlattenPreemptiveProcPtr;
- typedef OpaquePtr CollectionExceptionPreemptiveProcPtr;
- #endif
- /*********************************************/
- /************* Public interfaces *************/
- /*********************************************/
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- /**********************************************************************/
- /************** Utility routines for handle-based access **************/
- /**********************************************************************/
- #endif
- #if OLDROUTINENAMES
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __COLLECTIONS_IDL__ */
-
-